package com.example.teesystem.entityDto;

import com.example.teesystem.entity.ExamIssue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.BeanUtils;

/**
 * @author : NieYaShi
 * @version : v1.0
 * @createTime : 2022/4/12 11:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExamIssueList {

    private Integer paperId;

    private Integer issueId;

    private Integer score;

    private IssueSimpleMessage issueSimpleMessage;

    public ExamIssueList(ExamIssue examIssue){
        BeanUtils.copyProperties(examIssue, this);
    }
}
